package com.ruoyi.voucher.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

import javax.validation.constraints.NotBlank;

/**
 * 常用摘要对象 summary
 * 
 * @author ruoyi
 * @date 2025-02-25
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Summary extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 摘要ID */
    @TableId(type = IdType.AUTO)
    private Long summaryId;

    /** 摘要内容 */
    @NotBlank(message = "摘要内容不能为空")
    private String summaryContent;

    /** 逻辑删除 1留 0删 */
    private Integer isDeleted;


}
